package com.sheep.classroompie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;


import java.util.Date;

public class Homework {
  @TableId(type = IdType.AUTO)
  private int id;
  private Date createTime; //开始时间
  private Date endTime; //结束时间
  private String title; // 标题
  private String content; // 内容
  private String courseId;
  private String status;
  private String attachment; //附件

  public Homework(int id, String courseId, String title, String content,String attachment, Date createTime, Date endTime, String status) {
    this.id = id;
    this.courseId = courseId;
    this.createTime = createTime;
    this.endTime = endTime;
    this.title = title;
    this.content = content;
    this.status = status;
    this.attachment = attachment;
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public Date getEndTime() {
    return endTime;
  }

  public void setEndTime(Date endTime) {
    this.endTime = endTime;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  public String getCourseId() {
    return courseId;
  }

  public void setCourseId(String courseId) {
    this.courseId = courseId;
  }

  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }
  public String getAttachment() {
    return attachment;
  }

  public void setAttachment(String attachment) {
    this.attachment = attachment;
  }
}
